package cn.good.yan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * SpringBoot项目 - sentinel-service
 *      1. 流控
 *      2. 降级
 *      3. 热点key限流
 *      4. SentinelResource 自定义限流
 *
 * @author shengren.yan
 * @create 2023-09-27
 */
// 注册中心 注解
@EnableDiscoveryClient
@SpringBootApplication
public class BootApplication {

     public static void main(String[] args) {
        SpringApplication.run(BootApplication.class, args);
     }

}